{include file=$header_start}
{strip} 
<script type="text/javascript" src="{$siteroot}/includes/js/admin/checkall.js" /></script> 
{/strip}
{include file=$header_end}
{literal} 
<script type="text/javascript">
$(function(){
	$(".someClass").tipTip();
});

$(function(){
	$(".someClass").tipTip({maxWidth: "auto", edgeOffset: 10});
});
</script> 
{/literal}
<div class="contain"> {include file=$left_menu}
  <div class="right_contain">
    <div class="heading_box" style="height:19px;"> <span class="lF">Manage SEO</span> <span class="rF"><a href="javascript:;" class="someClass" title="{$moduelArray.module_help_text}"><img src="{$siteroot}/templates/admin/img/topic_icon6.png" /></a></span>
      <div class="clear"></div>
    </div>
    <div class="whitebox"> 
      
      <!--Message Div Start--> 
      {if $msg}
      <div class="masg_div"> {$msg} </div>
      {/if} 
      <!--Message Div End-->
      
      <div> 
        <!--Form Contain start-->
        
        <div class="table_viewbox"> 
          <!--<h2>Table Design</h2>-->
          <form name="searchFrm" id="searchFrm" method="post" action="{$siteroot}/admin/home.php?q=seo&order_field={$order_field}&order_by={$order_by}&search={$search}">
            <table width="100%" border="0" cellpadding="3" cellspacing="5">
              <tr>
                <td align="left"></td>
                <td align="right"><input type="text" name="search" id="search" class="input41" value="{if $search|return_fetched_value neq ''}{$search|return_fetched_value}{else}Search{/if}" onfocus="this.value=''" onblur="if(this.value=='')this.value='Search'" />
                  &nbsp;
                  <input type="submit" name="add" id="add" value="Search" class="admin_btn" />
                  &nbsp;
                  <input type="button" name="add" id="add" value="Clear" class="admin_btn" onclick="javascript: window.location='{$siteroot}/admin/home.php?q=seo&order_field={$order_field}&order_by={$order_by}';" /></td>
              </tr>
            </table>
          </form>
          <form name="frm" id="frm" action="" method="post" >
            <input type="hidden" name="hidden_pageno" id="hidden_pageno" value="{$page}" />
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_viewbox">
              <tr>
                <th width="6%" align="center">Sr.No.</th>
                <th width="58%">
                	<div class="lF">
                  	<a {if $smarty.get.col1|base64_decode eq '0'} href="{$siteroot}/admin/home.php?q=seo&col1={1|base64_encode}&page={$page}" {else}href="{$siteroot}/admin/home.php?q=seo&col1={0|base64_encode}&page={$page}" {/if}>Module Name</a></div>
                	<div class="lF" style="margin-left:10px; margin-top:2px;">
                    	<div style="width:10px; height:6px;"><a href="{$siteroot}/admin/home.php?q=seo&col1={0|base64_encode}&page={$page}" ><img {if $smarty.get.col1|base64_decode eq '1'} src="{$siteroot}/templates/admin/img/admin_toparrow_white.png" {else} src="{$siteroot}/templates/admin/img/admin_toparrow_black.png" {/if} title="ACS" /></a> <br /></div>
                        <div style="width:10px; height:6px; margin-top:3px; *margin-top:4px;"><a href="{$siteroot}/admin/home.php?q=seo&col1={1|base64_encode}&page={$page}"><img {if $smarty.get.col1|base64_decode eq '0' || $smarty.get.col1|base64_decode eq ''} src="{$siteroot}/templates/admin/img/admin_downarrow_white.png" {else} src="{$siteroot}/templates/admin/img/admin_downarrow_black.png" {/if} title="DESC" /></a></div>
                    </div>
                    <div class="clear"></div>                   
				</th>
                <th width="36%">Action</th>
              </tr>
              {if $seoArray}
              {section name=i loop=$seoArray}
              <tr class="inactiverow" id="tr_{$seoArray[i].id}">
                <td align="center">{$newid}</td>
                {if $seoArray[i].module_name eq ' Default'}
                <td><strong>{$seoArray[i].module_name}</strong></td>
                {else}
                <td>{$seoArray[i].module_name}</td>
                {/if}
                <td>&nbsp; <span><a href="{$siteroot}/admin/home.php?q=editseo&id={$seoArray[i].id|base64_encode}&action=edit&page={$page}&order_field={$order_field}&order_by={$order_by}&search={$search}" title="Edit SEO"><img src="{$siteroot}/templates/admin/img/icon_edit.png"/></a></span></td>
              </tr>
              <!-- {$newid++} --> 
              {/section}
              {else}
              <tr>
                <td class="error" align="center" colspan="3">No Records Found</td>
              </tr>
              {/if}
              {if $pagination}
              <tr>
                <td colspan="3"><div class="pagination"> {$pagination} </div></td>
              </tr>
              {/if}
            </table>
          </form>
        </div>
        <!--Form Contain end--> 
      </div>
    </div>
  </div>
  <!--right_contain end-->
  <div class="clear"></div>
</div>
{include file=$footer}